<html>
<head><meta charset="utf-8"><title>weak_framework · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/weak_framework.html">weak_framework</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="214329761"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/weak_framework/near/214329761" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Groves <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/weak_framework.html#214329761">(Oct 23 2020 at 15:44)</a>:</h4>
<p>I'm trying to understand our options to weakly linked to macOS frameworks using <code>weak_framework</code> (<a href="https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPFrameworks/Concepts/WeakLinking.html#//apple_ref/doc/uid/20002378-107026">https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPFrameworks/Concepts/WeakLinking.html#//apple_ref/doc/uid/20002378-107026</a>). Are there others ways we could try to pass <code>weak_framework</code> instead of <code>framework</code> in the generated linker flags besides the usual ways (<code>.cargo/config</code>, attribute on externs, or build script like I attempted in <a href="https://github.com/gfx-rs/wgpu-native/issues/50#issuecomment-714829149">https://github.com/gfx-rs/wgpu-native/issues/50#issuecomment-714829149</a>)?</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>